`timescale 1 ns / 100 ps 		//modify the parameters accordingly

module Reverser_tb;

	reg [7:0] RevIn;
	reg ModeSel;
	wire [7:0] RevOut;

	Reverser dut(RevIn, ModeSel, RevOut);

	integer i;

	initial begin
		ModeSel = 1;
		for (i = 0; i < 153; i = i + 1) begin
			RevIn = i;
			#5;
		end

		ModeSel = 0;
		RevIn = 8'd37; #5;
		RevIn = 8'd55; #5;
		RevIn = 8'd99; #5;

		$stop;
	end

endmodule